package com.demo.entity;

import java.time.LocalDateTime;

import org.crazycake.shiro.AuthCachePrincipal;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;
@Data
public class User extends Model<User> implements AuthCachePrincipal{
	
	//主建
	private Long id;
	//姓名
	private String name;
	//密码
	private String password;
	//年龄
	private Integer age;
	//邮箱
	private String email;
	//直属上级
	private Long managerId;
	//创建时间
	private LocalDateTime createTime;
	
	@Override
	public String getAuthCacheKey() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
